/* 基础样式设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

h1 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

header p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* 表格样式 */
.sales-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.sales-table th, 
.sales-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #e1e1e1;
}

.sales-table th {
    background-color: #2c3e50;
    color: white;
    font-weight: bold;
}

.sales-table tbody tr:hover {
    background-color: #f9f9f9;
}

.sales-table tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}

.total-row {
    background-color: #eafaf1 !important;
    font-weight: bold;
}

.increase {
    color: #27ae60;
    font-weight: bold;
}

.decrease {
    color: #e74c3c;
    font-weight: bold;
}

/* 图表样式 */
.chart-placeholder {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 6px;
}

.chart-placeholder h3 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.chart-bar {
    display: flex;
    gap: 40px;
    align-items: flex-end;
    height: 200px;
    padding: 10px 0;
    border-bottom: 2px solid #333;
    margin-bottom: 10px;
}

.bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    position: relative;
}

.bar::after {
    content: attr(data-value);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
}

.april {
    background-color: #3498db;
}

.may {
    background-color: #9b59b6;
}

.june {
    background-color: #2ecc71;
}

.chart-labels {
    display: flex;
    justify-content: space-around;
    font-weight: bold;
    color: #333;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #7f8c8d;
    font-size: 0.9rem;
}
    